package com.liuya.safe.system.role.dao;

import com.liuya.base.BaseMapper;
import java.util.List;

import com.liuya.safe.model.RolePrivilege;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RolePrivilegeMapper extends BaseMapper<RolePrivilege> {
    int deleteByPrimaryKey(@Param("roleid") String roleid, @Param("privilegeid") String privilegeid);

    int insert(RolePrivilege record);

    List<RolePrivilege> selectAll();
}